package com.shmilyou.dissertationmanagement.repository;
/* Created with 岂止是一丝涟漪     530060499@qq.com    2018/11/22 */

import com.shmilyou.dissertationmanagement.domain.User;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface UserRepository extends CrudRepository<User, Integer> {

    List<User> findByEmailAndPassword(String email, String password);
}
